
// 获取当前小程序的账户信息
const { miniProgram } = wx.getAccountInfoSync();
let env = {
  baseURL: "",
};
//图片地址
const imgBaseURl = "https://"
//获取小程序
const { envVersion } = miniProgram;

switch (envVersion) {
  //开发版本
  case "develop":
    // env.baseURL = "http://192.168.0.238:8084";
    env.baseURL = "http://192.168.0.14:8101";
    // env.baseURL = "http://192.168.0.15:8101";
    // env.baseURL = "http://192.168.0.29:8101"; 
    break;
  //体验版本
  case "trial":
    env.baseURL = "http://192.168.0.238:8084";
    break;
  //正式版本
  case "release":
    env.baseURL = "http://192.168.0.238:8084";
    break;
  default:
    env.baseURL = "http://192.168.0.238:8084"
    break;
}

export { env, imgBaseURl }
